package com.yex.service.otc;


import com.baomidou.mybatisplus.service.IService;
import com.yex.utils.JsonResultVo;
import com.yex.entity.otc.OtcDayAmount;

import java.math.BigDecimal;

/**
 * <p>
 * 每日交易金额 服务类
 * </p>
 *
 * @author LittleLiu
 * @since 2018-07-03
 */
public interface IOtcDayAmountService extends IService<OtcDayAmount> {
    /**
     *
     * @param userId 用户id
     * @param amount 价格
     * @return
     */
    JsonResultVo saveOtcDayAmount(Integer userId, BigDecimal amount);

    /**
     *
     * @param userId 用户id
     * @return
     */
    JsonResultVo saveOtcDayAmountPush(Integer userId);

    /**
     * @param userId 用户id
     * @return
     */
    JsonResultVo findOtcDayAmount(Integer userId);
}
